<template>
  <div>
    <button @click="add">+</button>
    {{ this.$store.state.vueN }}
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {
    add() {
      this.$store.commit("setN");
    },
  },
};
</script>

<style scoped>
</style>